#!/bin/bash

PIDFILE="config/app.pid"
if [ -f $PIDFILE ]; then
    PID=$(cat $PIDFILE)
    kill  $PID
		rm -f $PIDFILE
		echo -e "Shutdown the server，pid = $PID \n"
else
		echo -e "Pid file not found, Server is already stopped!\n"
fi
